Skip to content

Conversation

hamza221
Copy link
Contributor

@hamza221 hamza221 commented Mar 26, 2025

☑️ Resolves

🖼️ Screenshots

image

@nimishavijay
Copy link
Member

nimishavijay commented Mar 27, 2025

  • Snippets --> Text blocks
  • Move the section in the settings to below General

Inside setting dialog

  • Snippets heading --> list of snippets --> Create new snippet button
  • For each snippet use NcListItem component with title in one line and content in subline and 3 dot menu
  • Add shared icon to the left of 3 dot menu
  • In 3 dot menu delete at the end
  • In 3 dot menu For edit use pencil icon
  • Nice-to-have: show share icon if it's shared with other people

image

  • new snippet dialog and edit snippet dialog --> add border in content so that it looks like a text field
    • Buttons in new and edit dialog
    • "Ok" --> "Save text block"
    • Cancel icon --> x symbol
    • Cancel button tertiary
    • width of the buttons should be fit-content
    • all buttons right aligned
  • Edit dialog
    • width same as new snippet dialog
    • remove "Content" heading
    • "Shares" --> h3
    • Add placeholder in dropdown "Search for users or groups"
    • Instead of UserBubble component for added users use NcListItem (similar to calendar sharing or files sharing) with an x to remove

Incoming shared text blocks

  • Allow opening and viewing full text block
  • Hide section if empty

While inserting in composer

  • character?
  • in 3 dot menu have "Insert text block" item after smart picker item
  • Open modal with list of text blocks and search bar which filters the results similar to Talk create conversation add participants modal

Follow up

  • combine with smart picker

@hamza221 hamza221 marked this pull request as draft April 1, 2025 15:15
@hamza221 hamza221 force-pushed the feat/user/mail-snippets branch 2 times, most recently from aebe453 to 56d69f8 Compare August 8, 2025 15:38
@hamza221 hamza221 marked this pull request as ready for review August 8, 2025 15:38
@hamza221 hamza221 requested a review from rakekniven August 8, 2025 15:38
@hamza221 hamza221 changed the title feat(user-manual): Add docs for mail snippets feat(user-manual): Add docs for text blocks Aug 8, 2025
@rakekniven
Copy link
Member

Everything else looks good!

@hamza221 hamza221 force-pushed the feat/user/mail-snippets branch from 56d69f8 to 803622a Compare August 11, 2025 10:42
@hamza221 hamza221 requested a review from rakekniven August 11, 2025 10:42
@rakekniven rakekniven merged commit 3b4a452 into master Aug 11, 2025
13 checks passed
@rakekniven rakekniven deleted the feat/user/mail-snippets branch August 11, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text blocks
4 participants